function Promisee(executor){
    this.state = 'pending';
    this.result = undefined;
    executor();
}
const p = new Promisee(function (){
    // console.log(123);
})

console.log(p);

